//
//  Util.h
//  LimeWireStore
//
//  Created by Jeffrey Palm on 12/14/08.
//  Copyright 2008 Jeffrey Palm. All rights reserved.
//

@interface Util : NSObject {

}

+ (NSString*)findStringInBetween:(NSString*)s start:(NSString*)startDelim end:(NSString*)endDelim;
+ (NSString*)unescapeHTML:(NSString*)html;
+ (UILabel *)newLabelWithPrimaryColor:(UIColor *)primaryColor selectedColor:(UIColor *)selectedColor fontSize:(CGFloat)fontSize bold:(BOOL)bold;
+ (UIImage*)scaleAndRotateImage:(UIImage*)image maxResolution:(int)kMaxResolution;
+ (UIImage*)imageWithURL:(NSURL*)url;
+ (NSString*)resolveURL:(NSString*)urlString;
+ (NSURL*)URLWithString:(NSString*)urlString;
+ (CGRect)imageBounds:(UIImage*)image x:(NSInteger)theX y:(NSInteger)theY;
+ (NSString*) urlencode: (NSString *) url;
+ (NSString*) formatCurrency:(float)v;

@end
